<!--热评和贴条-->
<script setup>
import {toRefs} from "vue";
import {ReplyInfo} from "@ginstone/nga-api/dist/src/response/field/ReplyInfo";
import ReplyAuthor from "@/components/read/ReplyAuthor.vue";
import ReplyHeader from "@/components/read/ReplyHeader.vue";
import ReplyContent from "@/components/read/ReplyContent.vue";

const props = defineProps({
  reply: {type: ReplyInfo, required: true},
  author: {type: Object, required: true},
})
const {reply, author} = toRefs(props)
</script>

<template>
  <el-row class="sub-reply">
    <el-col :span="4" class="author block">
      <reply-author :data="author" hide-info/>
    </el-col>
    <el-col :span="20">
      <!--顶部信息栏-->
      <reply-header :data="reply" simple/>
      <!--标题+正文-->
      <reply-content :data="reply"/>
    </el-col>
  </el-row>
</template>

<style scoped>

</style>